package com.xxl.job.admin.Tool;

import com.alibaba.druid.filter.config.ConfigTools;

public class DecryptPassword {
    public static void main(String[] args) throws Exception {
        String publicKey = "MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAI1ZjL+AEj6t9ww21JPUsn3w7vvtnYRwmsgFwhCrumeM54GezjIIv6fH+6DIkmiKr2JsAciYAMMdGfcxkpB7q8kCAwEAAQ==";
        String encryptedPassword = "Nhw0LGFHAQek9/xvIy9Uywiz6OjBXA6QsOLMTrdF3nLFI9VLDu5HKyp9juhVv4j7aRhh+JYWo5q8za7dnJVGNg==";
        String decryptedPassword = ConfigTools.decrypt(publicKey, encryptedPassword);
        System.out.println("Decrypted Password: " + decryptedPassword);
    }
}